package com.leemz.spring.proxy.statics;

import com.leemz.spring.proxy.OrderService;
import com.leemz.spring.proxy.OrderServiceImpl;

/**
 * 订单服务代理类
 * @author leemz
 */
public class OrderServiceProxy implements OrderService {
    private OrderServiceImpl orderService = new OrderServiceImpl();
    @Override
    public void showOrder() {
        System.out.println("-----log-----");
        orderService.showOrder();
    }
}
